<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>上传任务书</title>
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
	<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/codemirror.min.css">

	<!-- Include Editor style. -->
	<link href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.6.0/css/froala_editor.pkgd.min.css" rel="stylesheet" type="text/css" />
	<link href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.6.0/css/froala_style.min.css" rel="stylesheet" type="text/css" />
</head>
<body style="background-color: #b7b7b7">
	<div class="container">
		<jsp:include page="_studentHomeHead.jsp" />
	</div>

	<%--<div class="container">--%>
		<%--<div class="row">--%>
				<%--<!-- enctype="multipart/form-data" -->--%>
				<%--<!-- <h4>上传文档</h4> -->--%>
				<%--<ul class="list-inline">--%>
					<%--<li>文档管理</li>--%>
					<%--<li>/</li>--%>
					<%--<li>上传文档</li>--%>
				<%--</ul>--%>
			<%--<form class="form-control"  action="${pageContext.request.contextPath}/student/uploadTaskBook" method="post" enctype="multipart/form-data">--%>

				<%--<div class="form-group">--%>

					<%--<labe>选题的目的和意义</labe>--%>
					<%--<textarea name="content"  id="myEditor" style="margin-top: 30px"></textarea>--%>
				<%--</div>--%>
				<%--<div class="form-group">--%>

					<%--<div class="col-md-5">--%>
						<%--<labe>文献综述</labe>--%>
						<%--<textarea name="content1" ></textarea>--%>
					<%--</div>--%>
				<%--</div>--%>
				<%--<div class="form-group">--%>

					<%--<div class="col-md-5">--%>
						<%--<labe>文论文进度安排</labe>--%>
						<%--<textarea name="content2" ></textarea>--%>
					<%--</div>--%>
				<%--</div>--%>
				<%--<div class="form-group"></div>--%>
				<%--<div class="form-group">--%>
					<%--<div class="col-md-5">--%>
						<%--<labe >上传附件</labe>--%>
						<%--<input type="file" id="file" name="file">--%>
					<%--</div>--%>
				<%--</div>--%>
					<%--<button type="submit" class="btn btn-primary ">提交</button>--%>
			<%--</form>--%>

		<%--</div>--%>








	<%--</div>--%>
	<form class="form"  action="${pageContext.request.contextPath}/student/studentUploadTaskBookTwo" method="post" enctype="multipart/form-data">

	<div class="container">

		<div class="form-group">
			<labe>任务书要求</labe>
			<textarea name="wxzs"  id="wxzs" style="margin-top: 30px">${studentTaskBook.wxzs}</textarea>
		</div>
		<%--<div class="form-group">--%>
		<%--<labe>任务书意义</labe>--%>
		<%--<textarea  class="form-control" name="xtyy">${studentTaskBook.xtyy}</textarea>--%>
		<%--</div>--%>
		<input type="hidden" value="${studentTaskBook.xtyy}" name="xtyy">
		<div class="form-group">
			<labe>任务书内容</labe>
			<textarea class="form-control" name="lwjd" >${studentTaskBook.lwjd}</textarea>
		</div>
			<div class="form-group">
			<div class="col-md-5">
			<labe >上传附件</labe>
			<input type="file" id="file" name="file">
			</div>
			</div>
		<input value="${studentId.studentId}" type="hidden" name="studentId">
		<button type="submit" class="btn btn-default">提交</button>

	</div>
	</form>
</body>
</html>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/codemirror.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/mode/xml/xml.min.js"></script>

<!-- Include Editor JS files. -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.6.0/js/froala_editor.pkgd.min.js"></script>

<script>
    $(function() {
        $('#wxzs').froalaEditor({
            imageUploadURL: '${pageContext.request.contextPath}/student/uploadImgEditor',
            language: 'zh_cn',
        });
    });


</script>